<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>角色管理</title>
		<link rel="stylesheet" type="text/css" href="${s.base}/lib/layui/css/layui.css" />
		<link rel="stylesheet" type="text/css" href="${s.base}/css/base/index.css" />
	</head>
	<body class="wrap-container clearfix">
		<div class="column-content-detail padt10" id="tool">
			<form class="layui-form" action="">
			<div class="cy-table-item-title">市直属学校2017年现代教育教学设备采购项目</div>
			<table width="100%" class="cyt-sim-table">
				<tr>
					<td>项目名称</td>
					<td>芜湖市一中智慧校园采购项目</td>
					<td>项目预算（万元）</td>
					<td>22.60</td>
				</tr>
				<tr>
					<td>申报单位数</td>
					<td>4</td>
					<td>项目类型</td>
					<td>
						基础教育
					</td>
				</tr>
				<tr>
					<td>征集类型</td>
					<td>
						学校提交
					</td>
					<td>截止时间</td>
					<td>
						<input type="text" name="date" id="date" lay-verify="date" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">
					</td>
				</tr>
				<tr>
					<td>论证时间</td>
					<td>
						<input type="text" name="date" id="date1" lay-verify="date" placeholder="请选择论证时间" autocomplete="off" class="layui-input">
					</td>
					<td>论证地点</td>
					<td><input placeholder="请输入地点" name="add" id="add"></td>
				</tr>
				<tr>
					<td>联系人</td>
					<td><input placeholder="请输入联系人"></td>
					<td>联系电话</td>
					<td><input placeholder="请输入联系电话"></td>
				</tr>
				<tr>
					<td>附件</td>
					<td colspan="3"class="pad0">
						<button type="button" class="layui-btn viewbtn cy-a-blue" id="testList1"><i class="iconfont">&#xe7e2;</i>选择多文件</button>
						<input type="hidden"  name="objectId"/>
						<div class="file-name-ctn">
							<ul class="uploadfile-list clearfix">
								<li><a><i class="iconfont">&#xe7e2;</i>附件名称附件名称附件名称附件名称附件名称附件名称附件名称附件名称.txt</a></li>
								<li class="fileopert">预览</li>
								<li class="fileopert">删除</li>
							</ul>
							<ul class="uploadfile-list clearfix">
								<li><a><i class="iconfont">&#xe7e2;</i>附件名称附件名称附件名称附件名称附件名称附件名称附件名称附件名称.txt</a></li>
								<li class="fileopert">预览</li>
								<li class="fileopert">删除</li>
							</ul>
						</div>
					</td>
				</tr>
				<tr>
					<td>是否由专家添加质疑</td>
					<td colspan="3"><select name="interest" lay-filter="aihao" class="pad0">
						<option value=""></option>
						<option value="0" selected>是</option>
						<option value="1">否</option>
					</select></td>
				</tr>
			</table>
				<div class="cy-table-item-expert-title mart20"><i class="iconfont cy-green FS18">&#xe602;</i> 专家组选定</div>
				<button type="button" class="layui-btn layui-btn-normal layui-btn-mid marb5 mart10">专家摇号</button>
				<button type="button" class="layui-btn layui-btn-normal layui-btn-mid marb5 mart10">专家选择</button>
				<table id="entityList" lay-filter="entityList" class="cy-list-table"></table>
				<div class="layui-form-item" style="padding-left: 10px;">
					<div class="layui-input-block center mart20">
						<button class="layui-btn layui-btn-normal" lay-submit lay-filter="submitBtn">提交</button>
						<button class="layui-btn layui-btn-normal" >保存</button>
						<button type="button" id="cancel" class="layui-btn layui-btn-primary">取消</button>

					</div>
				</div>
			</form>
		</div>
	</div>
	<script src="${s.base}/lib/layui/layui.js" type="text/javascript" charset="utf-8"></script>
	<script src="${s.base}/js/common.js" type="text/javascript" charset="utf-8"></script>
		<script>
            //Demo
            layui.use(['table','page','form', 'layedit', 'laydate','jquery'], function(){
                var form = layui.form
					,$ = layui.jquery
                    ,layer = layui.layer
                    ,layedit = layui.layedit
					,table=layui.table
					,page=layui.page
                    ,laydate = layui.laydate;

                var tableIns=null;
                page.initDict("base_status",function (dictData) {
                    page.showDict($("#status"),page.aceeptDictContentList(dictData,"base_status"),"请选择状态");
                    var url="/sysRole/page";
                    var cols=[
                        // {type: 'checkbox', fixed: 'left'},
                        {type: 'numbers', title: '序号',align:'center'},
                        {field: 'num', title: '编号',align:'center'},
                        {field: 'name', title: '专家名称',align:'center'},
                        {field: 'kind', title: '类别',align:'center'},
                        {field: 'tel', title: '联系方式',align:'center'},
                        {title: '操作',width:170, templet:'#entityBar',align:"center", fixed: 'right'}
                    ];
                    tableIns=page.initDate(cols,url);
                });

                //日期
                laydate.render({
                    elem: '#date'
                });
                laydate.render({
                    elem: '#date1'
                });

                //监听提交
                form.on('submit(formDemo)', function(data){
                    layer.msg(JSON.stringify(data.field));
                    return false;
                });
                //多附件上传
                baseutil.uploadMultiFile($('#demoList'),'#testList',"sys/mult",$("#objectId").val(),function (data) {
                    $("#objectId").val(data);
                })
            });
		</script>
	</body>
</html>